public class J05return {
    public static void main(String[] args) {
        int num1 = f1();
        System.out.println("num1 = " + num1);

        f1();

        System.out.println("==打印数组==");
        int[] arr1 = {1,3,5};
        printArr(arr1);

        int[] arr2 = {1,3,5};
        printArr(arr2);

//        printArr();
    }

    public static void printArr(int[] arr1){
        for (int i = 0; i < arr1.length; i++) {
            System.out.println(arr1[i]);
        }
    }

    public static int f1(){
        System.out.println("i am f1");
        return 1;
    }
}
